﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace iSlideTools.LocalServer.Models
{
    public class User
    {
        public int Id { get; set; }

        [DisplayName("用户名")]
        public string UserName { get; set; }

        [DisplayName("密码")]
        [DataType(DataType.Password)]
        public string Password { get; set; }

        [DisplayName("邮箱")]
        public string Email { get; set; }

        [DisplayName("角色")]
        public string Role { get; set; }
    }
}